#pragma once
int gen_sim_data(unsigned char** buf);
void dump_hex(unsigned char* buf, int len);
int  process_packet(unsigned char* buf, unsigned short len, unsigned char** ack_buf);